<?php 
$allowAll = array(); 
$allowOnly = array(); 
$allowAll['session']['login'] = True; 
$allowAll['common']['unauthorized'] = True;
$allowAll['user']['register'] = True;
//$allowOnly[group][controller][action];
$allowOnly[1]['activity']['view'] = True;
$allowOnly[2]['activity']['view'] = True;
$allowOnly[1]['session']['logout'] = True;
$allowOnly[2]['session']['logout'] = True;
$allowOnly[1]['user']['profile'] = True;
$allowOnly[2]['user']['profile'] = True;
$allowOnly[1]['common']['home'] = True; 
$allowOnly[2]['common']['home'] = True; 
$allowOnly[1]['activity']['view'] = True;
$allowOnly[2]['activity']['view'] = True;
$allowOnly[1]['user']['list_users'] = True;
$allowOnly[1]['user']['actualizar'] = True;
$allowOnly[2]['user']['actualizar'] = True;
$allowOnly[1]['admin']['index'] = True;
$allowOnly[1]['activity']['create'] = True;
$allowOnly[1]['activity']['register'] = True;
$allowOnly[2]['activity']['register'] = True;
$allowOnly[1]['activity']['deregister'] = True;
$allowOnly[2]['activity']['deregister'] = True;
?>